package com.vincent.kdp.ui.vip.repository;

import com.loopj.android.http.RequestParams;
import com.vincent.baseapp.util.SPUtil;
import com.vincent.kdp.PostUrl;
import com.vincent.kdp.bean.RegisterVo;
import com.vincent.kdp.http.HttpUtil;
import com.vincent.kdp.http.RequestCallBack;
import com.vincent.kdp.ui.Constants;
import com.vincent.kdp.ui.bean.response.RegisterVipOutput;
import com.vincent.kdp.util.BaseParam;

/**
 * Created by jingjing on 2017/2/17.
 */

public class GetVipLevelRepository {
    /**
     *
     * 获取vip等级
     * @param callBack
     */
    public void reqRegister(RequestCallBack callBack) {

        RequestParams params = new RequestParams();
        params.put("number", BaseParam.getDeviceId());
        //params.put("number", "862105020209669");
        HttpUtil.loadData(PostUrl.GET_LEVEL, params, RegisterVipOutput.class, callBack);
    }
}
